package com.hjq.mallproduct.feign;

import com.hjq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @auther HJQ
 */
@FeignClient("mall-seckill")
public interface SeckillFeign {
    @RequestMapping("/sku/seckill/{skuId}")
     R getSkuSecInfo(@PathVariable("skuId") Long skuId);
}
